package ynu.lcy.dto.business;


import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import org.springframework.web.multipart.MultipartFile;
import ynu.lcy.dto.file.UploadFileRequest;

import java.util.List;

/**
 * 商家请求实体
 * */
@Setter
@Getter
@ToString
public class BusinessRequestDTO extends UploadFileRequest {
    private Long id;
    private String businessName;
    private String businessAddress;
    private String businessExplain;
    private List<Long> businessType;

    private Double starPrice;
    private Double deliveryPrice;
    private Long businessWeight;
    public BusinessRequestDTO(MultipartFile file, String biz) {
        super(file, biz);
    }
}
